import { createApp } from 'vue';
import App from './App.vue';
// element-ui
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import zhCn from 'element-plus/dist/locale/zh-cn.mjs';
import { ElMessageBox } from 'element-plus';
import { ElMessage } from 'element-plus'
// 公共css
import '@/assets/css/index.css';
// 路由
import {router} from './router/index';
const app = createApp(App)
app.use(ElementPlus, {
    locale: zhCn,
  });

  app.config.globalProperties.$messageBox = ElMessageBox;
  app.config.globalProperties.$message = ElMessage;
app.use(router);
app.mount('#app')
